<template>
  <div>
    B组件
    <input
      type="text"
      v-model='B'
    >
  </div>
</template>
<script>
// @ is an alias to /src
export default {
  name: "AB",
  data() {
    return {
      B: "BBB",
    };
  },
  created() {
    console.log(this.$route);
  },
  beforeDestroy() {
    console.log("B要销毁");
  },
  components: {},
};
</script>
<style lang="less">
</style>